//
//  EssenceNavigationController.m
//  百思不得姐首页
//
//  Created by uproject on 16/8/21.
//  Copyright © 2016年 heima. All rights reserved.
//

#import "EssenceNavigationController.h"
#import "EssenceRootViewController.h"

@interface EssenceNavigationController ()

@end

@implementation EssenceNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
//    self.navigationBar.tintColor = [UIColor whiteColor];
//    self.navigationBar.barStyle = UIBarStyleBlack;
    
}

-(void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated{
    
    if (![viewController isKindOfClass:[EssenceRootViewController class]]) {
        viewController.hidesBottomBarWhenPushed = YES;
    }
    
    [super pushViewController:viewController animated:animated];
}




@end
